package net.oschina.simpleplus.tcp;

public class Packet {
	private final int rqid; //请求的ID
    private long did; //全局的ID
	public int getRqid() {
		return rqid;
	}
	public long getDid() {
		return did;
	}
	public Packet(int rqid, long did) {
		super();
		this.rqid = rqid;
		this.did = did;
	}
	
	public void setDid(long did) {
		this.did = did;
	}
	@Override
	public String toString() {
		return String.format("Packet [rqid=%s, did=%s]", rqid, did);
	}

}
